class DicTemplate:
    def __init__(self, dic_id, dic_module, dic_group, dic_type, dic_name, control_type, description):
        self.dicId = dic_id
        self.dicModule = dic_module
        self.dicGroup = dic_group
        self.dicType = dic_type
        self.dicName = dic_name
        self.controlType = control_type
        self.description = description

    def to_dict(self):
        return {
            'dic_id': self.dicId,
            'dic_module': self.dicModule,
            'dic_group': self.dicGroup,
            'dic_type': self.dicType,
            'dic_name': self.dicName,
            'control_type': self.controlType,
            'description': self.description
        }
